<tagLib name="html" />
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <HEAD>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <TITLE>用户挑选</TITLE>
        <load type="css" href ="../Public/css/FCS.css" />
        <SCRIPT LANGUAGE="JavaScript">
            <!--
            function ok(){
                var result = new Array();
                var obj	   = form1.user.options;
                var j=0;
                for(var i=0;i<obj.length;i++){
                    if (obj[i].selected==true){
                        result[j] = new Array();
                        result[j][0]	=	obj[i].text;
                        result[j][1]	=	obj[i].value;
                        j++;
                    }
                }
                returnValue=result;
                window.close(); 
            }

            //-->
        </SCRIPT>
        <base target="_self" />
    </HEAD>

    <BODY style="margin:0;overflow:hidden">
        <FORM METHOD="POST" style="margin:0" name = "form1" ACTION="" onsubmit="return navTabSearch(this)" 
>
            <div align="center">
                <TABLE class="order" cellpadding=0 style="margin:0" cellspacing=0 width="100%">
                    <tr><td height="5" colspan="2" class="topTd" ></td></tr>
                    <TR>
                        <Th colspan=2 align="center"><div class="fLeft"><input name="nickname" type="text" style="width:165px"></div>
                            <html:imageBtn name="search" value="查询" click="form1.submit()" style="impBtn hMargin fLeft " /></Th>
                    </TR>
                    <TR >
                        <TD width="75%" align="right">
                            <div class="solid">
                                <SELECT class="multiSelect" ondblclick="ok()" name="user" size="15">
                                    <voList name="list" id="vo" >
                                        <option value="{$vo.id}">{$vo.name} {$vo.nickname}</option>
                                    </voList>
                                </SELECT>
                            </div>
                        </TD>
                    </TR>
                    <TR>
                        <TD colspan=2 align="center">
                            <div style="width:65%">
                                <html:imageBtn name="save" type="submit" value="确定" click="ok()" style="impBtn hMargin fLeft " /> 
                                <html:imageBtn name="reset" type="reset" value="取消" click="window.close()" style="impBtn hMargin fLeft " />
                            </div>
                        </TD>
                    </TR>
                    <tr><td height="5" colspan="2" class="topTd" ></td></tr>
                </TABLE>
            </div>
        </FORM>
</html>